package com.aizuda.boot.modules.business.approval.entity.vo;

import com.aizuda.boot.modules.business.permission.domain.response.EmployeeShowVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName HandoverHistoryVO
 * @Version 1.0
 * @Date 2025/7/24 14:29
 */
@Data
public class HandoverHistoryVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "审批业务ID")
    private Long approvalId;

    @Schema(description = "审批名称")
    private String approvalName;

    @Schema(description = "被交接人")
    private EmployeeShowVO handoverUser;

    @Schema(description = "交接人")
    private EmployeeShowVO heirUserName;

    @Schema(description = "交接内容")
    private String content;

    @Schema(description = "交接理由")
    private String reason;

    @Schema(description = "创建人")
    private EmployeeShowVO createUser;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(description = "交接状态，0:待交接 1:已交接 2:已拒绝（暂定待完善）")
    private String status;

}
